/*
 * $Id: Canvas.java 140 2009-05-14 13:43:33Z meyer@alphatec.de $
 * 
 *
 * Copyright 2009 DeltaDesk
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 * implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package deltadesk.gui.deltagui.widget;

import java.awt.event.KeyEvent;


/**
 * Canvas.
 * 
 * @author Andreas Meyer
 * @version $Revision: 140 $
 */
public class Canvas extends AbstractControl {

	/**
	 * @see deltadesk.gui.deltagui.widget.AbstractControl#onActivate()
	 */
	@Override
	protected void onActivate() {
		// Sub classes override this to get notified that the control is ready
		// to use
	}

	/**
	 * @see deltadesk.gui.deltagui.widget.AbstractControl#onDeactivate()
	 */
	@Override
	protected void onDeactivate() {
		// Sub classes override this to get notified that the control is not
		// active any more
	}

	/**
	 * @see deltadesk.gui.deltagui.widget.AbstractControl#onMove()
	 */
	@Override
	protected void onMove() {
		// Sub classes override this to get notified that the control was moved
	}

	/**
	 * @see deltadesk.gui.deltagui.widget.AbstractControl#onResize()
	 */
	@Override
	protected void onResize() {
		// Sub classes override this to get notified that the control was 
		// resized
	}

	/**
	 * @see deltadesk.gui.deltagui.widget.AbstractControl#onKeyEvent(java.awt.event.KeyEvent)
	 */
	@Override
	protected void onKeyEvent(final KeyEvent ke) {
		// Sub classes override this to get notified that the control received 
		// a key event
	}

}
